package com.healthcloud.entity.brokerMessageLog;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 仪器推送信息记录 实体类
 * @author yucl
 * @email yucailong1111@126.com
 * @date 2020-09-24 13:54:57
 */
@Data
public class BrokerMessageLogEntity implements Serializable {
	private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "消息id")
	private String messageId;

    @ApiModelProperty(value = "消息内容")
	private String message;

    @ApiModelProperty(value = "尝试次数")
	private Integer tryCount;

    @ApiModelProperty(value = "状态（0:发送中，1：成功，2：失败）")
	private String status;

    @ApiModelProperty(value = "下次重试时间")
	private Date nextRetry;

    @ApiModelProperty(value = "创建时间")
	private Date createTime;

    @ApiModelProperty(value = "更新时间")
	private Date updateTime;

    @ApiModelProperty(value = "接收状态（0：消费端未接收，1：消费端已接收）")
	private Integer ack;

    @ApiModelProperty(value = "推送状态（0：未推送，1：已推送）")
	private Integer publish;

}
